
updateChildrenCardOk = function () {
    var reservationsId = $('#reservationsId').val();
    var childrenCard = $('#childrenCard').val();
    $.ajax({
        url: Feng.ctxPath + "/customer/updateChildrenCardOk",
        type: "post",
        data: {
            "reservationsId": reservationsId,
            "childrenCard": childrenCard
        },
        success: function (data) {
            Feng.success("修改成功!");
            window.parent.Customer.table.refresh();
            parent.layer.close(parent.layer.getFrameIndex(window.name));
        },
        error: function (data) {
            alert("没有权限，请联系系统管理员！");
            parent.layer.close(parent.layer.getFrameIndex(window.name));
        }
    });
};
